import request from '../utils/request';

export function fetchAllUser(params){
    return request({
        url:'admin/userall',
        method:'get',
        params:params
    })
}
export function editUser(data){
    return request({
        url:'admin/userchange',
        method:'put',
        data:data
    })
}